<?php $this->extend('/Common/main_page'); ?>

<div id='register_form'>

<?php

echo $this->Form->create('User');
echo $this->Form->input('username');
echo $this->Form->input('email');
echo $this->Form->input('password');
echo $this->Form->input('confirm_password', array('type' => 'password'));

$label = 'I have read and agreed to '. $this->Html->link('terms of use', array('action' => 'rules'));
echo $this->Form->input('rules', array('type'=>'checkbox', 'label' => $label));
echo $this->Form->end("Register");
?>



